<?xml version="1.0" encoding="utf-8"?>

<animfile>
  <definebone>bone_flag_civ</definebone>
  <definebone>bone_flag_garrison</definebone>
  <definebone>bone_debris_1A</definebone>
  <definebone>bone_debris_1B</definebone>
  <definebone>bone_debris_1C</definebone>
  <definebone>bone_debris_1D</definebone>
  <definebone>bone_debris_1E</definebone>
  <definebone>bone_debris_1F</definebone>
  <definebone>bone_debris_1G</definebone>
  <definebone>bone_debris_1H</definebone>
  <definebone>bone_debris_2A</definebone>
  <definebone>bone_debris_2B</definebone>
  <definebone>bone_debris_2C</definebone>
  <definebone>bone_debris_2d</definebone>
  <definebone>bone_debris_2e</definebone>
  <definebone>bone_debris_2f</definebone>
  <definebone>bone_debris_2g</definebone>
  <definebone>bone_debris_2h</definebone>
  <definebone>bone_debris_2i</definebone>
  <definebone>bone_debris_2j</definebone>
  <definebone>bone_debris_2k</definebone>
  <definebone>bone_debris_2l</definebone>
  <definebone>bone_debris_2n</definebone>
  <definebone>bone_debris_2m</definebone>
  <definebone>bone_debris_3A</definebone>
  <definebone>bone_debris_3B</definebone>
  <definebone>bone_debris_3C</definebone>
  <definebone>bone_debris_3D</definebone>
  <definebone>bone_debris_3E</definebone>
  <definebone>bone_debris_3f</definebone>
  <definebone>bone_debris_3g</definebone>
  <definebone>bone_debris_3h</definebone>
  <definebone>bone_debris_3i</definebone>
  <definebone>bone_debris_4A</definebone>
  <definebone>bone_debris_4B</definebone>
  <definebone>bone_debris_4C</definebone>
  <definebone>bone_debris_4D</definebone>
  <definebone>bone_debris_4E</definebone>
  <definebone>bone_debris_4f</definebone>
  <definebone>bone_debris_4g</definebone>
  <definebone>bone_debris_4h</definebone>
  <definebone>bone_debris_4i</definebone>
  <definebone>bone_debris_4j</definebone>
  <definebone>boneimpact01</definebone>
  <definebone>boneimpact02</definebone>
  <definebone>boneimpact03</definebone>
  <definebone>bone_debris_1i</definebone>
  <definebone>bone_debris_5a</definebone>
  <definebone>bone_debris_5b</definebone>
  <definebone>bone_debris_5c</definebone>
  <definebone>bone_debris_5d</definebone>
  <definebone>bone_debris_5e</definebone>
  <definebone>bone_debris_5f</definebone>
  <definebone>bone_debris_5g</definebone>
  <definebone>bone_debris_5h</definebone>
  <definebone>bone_debris_5i</definebone>
  <definebone>bone_debris_5j</definebone>
  <definebone>bone_debris_6a</definebone>
  <definebone>bone_debris_6b</definebone>
  <definebone>bone_debris_6c</definebone>
  <definebone>bone_debris_6d</definebone>
  <definebone>bone_smoke</definebone>
	<definebone>bone_launchpoint01</definebone>
	<definebone>bone_launchpoint02</definebone>
	<definebone>bone_launchpoint03</definebone>
	<definebone>bone_launchpoint04</definebone>
	<submodel>
		sub_construction_stage_01
		<component>
			construction_stage_01
			<assetreference type="GrannyModel">
				<file>buildings\constructions\4x4_stage1</file>
			</assetreference>
			<decal>
				<effecttype>bump</effecttype>
				<texture>buildings\constructions\2x2_construction_decal</texture>
				<selectedtexture>shadows_selections\selection_square_128x128</selectedtexture>
				<bumptexture>shadows_selections\flat_normal_black_spec</bumptexture>
				<width>10.00</width>
				<height>10.00</height>
			</decal>
		</component>
		<anim>
			Idle
			<component>construction_stage_01</component>
		</anim>
	</submodel>
	<submodel>
		sub_construction_stage_02
		<component>
			construction_stage_02
			<assetreference type="GrannyModel">
				<file>buildings\constructions\4x4_stage2</file>
			</assetreference>
			<decal>
				<effecttype>bump</effecttype>
				<texture>buildings\constructions\2x2_construction_decal</texture>
				<selectedtexture>shadows_selections\selection_square_128x128</selectedtexture>
				<bumptexture>shadows_selections\flat_normal_black_spec</bumptexture>
				<width>10.00</width>
				<height>10.00</height>
			</decal>
		</component>
		<anim>
			Idle
			<component>construction_stage_02</component>
		</anim>
	</submodel>
	<submodel><!--gunsmith2con-->
		gunsmith_con2
		<attachment>
			con
			<component>
				scaffolding
				<assetreference type="GrannyModel">
					<file>WoL\buildings\ME\gunsmith\Gunsmith2_con_Model</file>
				</assetreference>
			</component>
			<anim>
				Idle
				<component>scaffolding</component>
			</anim>
		</attachment>
		<component>
			artillery depot
			<assetreference type="GrannyModel">
				<file>buildings\constructions\4x4_stage3</file>
			</assetreference>
			<attach a="con" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
		</component>
		<anim>
			Idle
			<component>artillery depot</component>
		</anim>
	</submodel>
	<submodel><!--gunsmith4con-->
		gunsmith_con4
		<attachment>
			con
			<component>
				scaffolding
				<assetreference type="GrannyModel">
					<file>WoL\buildings\ME\gunsmith\Gunsmith4_con_Model</file>
				</assetreference>
			</component>
			<anim>
				Idle
				<component>scaffolding</component>
			</anim>
		</attachment>
		<component>
			artillery depot
			<assetreference type="GrannyModel">
				<file>buildings\constructions\4x4_stage3</file>
			</assetreference>
			<attach a="con" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
		</component>
		<anim>
			Idle
			<component>artillery depot</component>
		</anim>
	</submodel>
	<submodel><!--gunsmith2-->
		gunsmith2
		<attachment>base smoke
			<component>smoke base
				<assetreference type="ParticleSystem">
					<file>effects\smoke\collapsesmoke01.particle</file>
				</assetreference>
			</component>
			<anim>Idle
				<component>smoke base</component>
			</anim>
		</attachment>
		<attachment>base smoke2
			<component>smoke wave
				<assetreference type="ParticleSystem">
					<file>effects\smoke\collapse_smoke_wave.particle</file>
				</assetreference>
			</component>
			<anim>Idle
				<component>smoke wave</component>
			</anim>
		</attachment>
		<attachment>base smoke3
			<component>smoke wave center
				<assetreference type="ParticleSystem">
					<file>effects\smoke\collapse_smoke_wave02.particle</file>
				</assetreference>
			</component>
			<anim>Idle
				<component>smoke wave center</component>
			</anim>
		</attachment>
		<attachment>collapse_smoke
			<component>collapse_smoke
				<assetreference type="ParticleSystem">
					<file>effects\smoke\collapse_smoke_a.particle</file>
				</assetreference>
			</component>
			<anim>Idle
				<component>collapse_smoke</component>
			</anim>
		</attachment>
		<attachment>smoke
			<component>
				smoke
				<assetreference type="ParticleSystem">
					<file>effects\smoke\white_smoke_c.particle</file>
				</assetreference>
			</component>
			<anim>
				Idle
				<component>smoke</component>
			</anim>
		</attachment>
		<component>
			gunsmith2
			<logic type="LowPoly">
				<normal>
					<logic type="Destruction">
						<p1>
							<assetreference type="GrannyModel">
								<file>WoL\buildings\ME\gunsmith\Gunsmith2_dmg_Model</file>
							</assetreference>
							<!-- <attach a="smoke" frombone="bone_smoke" tobone="bone_smoke" syncanims="0"></attach> -->
						</p1>
						<p99>
							<assetreference type="GrannyModel">
								<file>WoL\buildings\ME\gunsmith\gunsmith2_Model</file>
							</assetreference>
							<attach a="smoke" frombone="bone_smoke" tobone="bone_smoke" syncanims="0"></attach>
						</p99>
					</logic>
				</normal>
				<lowpoly>
					<assetreference type="GrannyModel">
						<file>WoL\buildings\ME\gunsmith\Gunsmith2_lp_Model</file>
					</assetreference>
				</lowpoly>
			</logic>
			<decal>
				<effecttype>default</effecttype>
				<texture>buildings\artillery_depot\WEST\AGE_3\artillery_depot_ground</texture>
				<selectedtexture>shadows_selections\selection_square_128x128</selectedtexture>
				<width>9.50</width>
				<height>9.50</height>
				<xoffset>0.00</xoffset>
				<zoffset>0.00</zoffset>
			</decal>
		</component>
		<component>
			death
			<logic type="LowPoly">
				<normal>
					<assetreference type="GrannyModel">
						<file>WoL\buildings\ME\gunsmith\Gunsmith2_death_Model</file>
					</assetreference>
				</normal>
				<lowpoly>
					<assetreference type="GrannyModel">
						<file>WoL\buildings\ME\gunsmith\Gunsmith2_lp_Model</file>
					</assetreference>
				</lowpoly>
			</logic>
			<decal>
				<effecttype>default</effecttype>
				<texture>buildings\artillery_depot\WEST\AGE_3\artillery_depot_ground</texture>
				<selectedtexture>shadows_selections\selection_square_128x128</selectedtexture>
				<width>9.50</width>
				<height>9.50</height>
				<xoffset>0.00</xoffset>
				<zoffset>0.00</zoffset>
			</decal>
		</component>
		<anim>
			Idle
			<component>gunsmith2</component>
			<simskeleton>
				<model>WoL\buildings\ME\gunsmith\Gunsmith2_dmg_Model</model>
				<damagetemplate>WoL\buildings\ME\gunsmith\gunsmith2.dmg</damagetemplate>
			</simskeleton>
		</anim>
		<anim>
			Death
			<assetreference type="GrannyAnim">
						<file>WoL\buildings\ME\gunsmith\Gunsmith2_death_Anim</file>
				<tag type="SpecificSoundSet" checkvisible="1" set="PistolShot">0.05</tag>
				<tag type="SpecificSoundSet" checkvisible="1" set="PistolShot">0.10</tag>
				<tag type="SpecificSoundSet" checkvisible="1" set="PistolShot">0.15</tag>
				<tag type="SpecificSoundSet" checkvisible="1" set="PistolShot">0.20</tag>
				<tag type="Particles" particlename="wcsmallexp_01">0.01</tag>
				<tag type="Particles" particlename="wcsmallexp_03">0.05</tag>
				<tag type="Particles" particlename="wcsmallexp_04">0.20</tag>
				<tag type="Particles" particlename="wcsmallexp_03">0.10</tag>
				<tag type="Particles" particlename="wcsmallexp_01">0.15</tag>
			</assetreference>
			<component>death</component>
			<attach a="base smoke" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
			<attach a="base smoke2" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
			<attach a="base smoke3" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
			<attach a="collapse_smoke" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
		</anim>
	</submodel>
	<submodel><!--gunsmith4-->
		gunsmith4
		<attachment>base smoke
			<component>smoke base
				<assetreference type="ParticleSystem">
					<file>effects\smoke\collapsesmoke01.particle</file>
				</assetreference>
			</component>
			<anim>Idle
				<component>smoke base</component>
			</anim>
		</attachment>
		<attachment>base smoke2
			<component>smoke wave
				<assetreference type="ParticleSystem">
					<file>effects\smoke\collapse_smoke_wave.particle</file>
				</assetreference>
			</component>
			<anim>Idle
				<component>smoke wave</component>
			</anim>
		</attachment>
		<attachment>base smoke3
			<component>smoke wave center
				<assetreference type="ParticleSystem">
					<file>effects\smoke\collapse_smoke_wave02.particle</file>
				</assetreference>
			</component>
			<anim>Idle
				<component>smoke wave center</component>
			</anim>
		</attachment>
		<attachment>collapse_smoke
			<component>collapse_smoke
				<assetreference type="ParticleSystem">
					<file>effects\smoke\collapse_smoke_a.particle</file>
				</assetreference>
			</component>
			<anim>Idle
				<component>collapse_smoke</component>
			</anim>
		</attachment>
		<attachment>smoke
			<component>
				smoke
				<assetreference type="ParticleSystem">
					<file>effects\smoke\white_smoke_c.particle</file>
				</assetreference>
			</component>
			<anim>
				Idle
				<component>smoke</component>
			</anim>
		</attachment>
		<component>
			gunsmith4
			<logic type="LowPoly">
				<normal>
					<logic type="Destruction">
						<p1>
							<assetreference type="GrannyModel">
								<file>WoL\buildings\ME\gunsmith\Gunsmith4_dmg_Model</file>
							</assetreference>
							<!-- <attach a="smoke" frombone="bone_smoke" tobone="bone_smoke" syncanims="0"></attach> -->
						</p1>
						<p99>
							<assetreference type="GrannyModel">
								<file>WoL\buildings\ME\gunsmith\gunsmith4_Model</file>
							</assetreference>
							<attach a="smoke" frombone="bone_smoke" tobone="bone_smoke" syncanims="0"></attach>
						</p99>
					</logic>
				</normal>
				<lowpoly>
					<assetreference type="GrannyModel">
						<file>WoL\buildings\ME\gunsmith\Gunsmith4_lp_Model</file>
					</assetreference>
				</lowpoly>
			</logic>
			<decal>
				<effecttype>default</effecttype>
				<texture>buildings\artillery_depot\WEST\AGE_3\artillery_depot_ground</texture>
				<selectedtexture>shadows_selections\selection_square_128x128</selectedtexture>
				<width>9.50</width>
				<height>9.50</height>
				<xoffset>0.00</xoffset>
				<zoffset>0.00</zoffset>
			</decal>
		</component>
		<component>
			death
			<logic type="LowPoly">
				<normal>
					<assetreference type="GrannyModel">
						<file>WoL\buildings\ME\gunsmith\Gunsmith4_death_Model</file>
					</assetreference>
				</normal>
				<lowpoly>
					<assetreference type="GrannyModel">
						<file>WoL\buildings\ME\gunsmith\Gunsmith4_lp_Model</file>
					</assetreference>
				</lowpoly>
			</logic>
			<decal>
				<effecttype>default</effecttype>
				<texture>buildings\artillery_depot\WEST\AGE_3\artillery_depot_ground</texture>
				<selectedtexture>shadows_selections\selection_square_128x128</selectedtexture>
				<width>9.50</width>
				<height>9.50</height>
				<xoffset>0.00</xoffset>
				<zoffset>0.00</zoffset>
			</decal>
		</component>
		<anim>
			Idle
			<component>gunsmith4</component>
			<simskeleton>
				<model>WoL\buildings\ME\gunsmith\Gunsmith4_dmg_Model</model>
				<damagetemplate>WoL\buildings\ME\gunsmith\gunsmith4.dmg</damagetemplate>
			</simskeleton>
		</anim>
		<anim>
			Death
			<assetreference type="GrannyAnim">
						<file>WoL\buildings\ME\gunsmith\Gunsmith4_death_Anim</file>
				<tag type="SpecificSoundSet" checkvisible="1" set="PistolShot">0.05</tag>
				<tag type="SpecificSoundSet" checkvisible="1" set="PistolShot">0.10</tag>
				<tag type="SpecificSoundSet" checkvisible="1" set="PistolShot">0.15</tag>
				<tag type="SpecificSoundSet" checkvisible="1" set="PistolShot">0.20</tag>
				<tag type="Particles" particlename="wcsmallexp_01">0.01</tag>
				<tag type="Particles" particlename="wcsmallexp_03">0.05</tag>
				<tag type="Particles" particlename="wcsmallexp_04">0.20</tag>
				<tag type="Particles" particlename="wcsmallexp_03">0.10</tag>
				<tag type="Particles" particlename="wcsmallexp_01">0.15</tag>
			</assetreference>
			<component>death</component>
			<attach a="base smoke" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
			<attach a="base smoke2" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
			<attach a="base smoke3" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
			<attach a="collapse_smoke" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
		</anim>
	</submodel>
	<component>
		gunsmith
		<logic type="Tech">
			<none>
				<logic type="BuildingCompletion">
					<p0>
						<submodelref ref="sub_construction_stage_01"/>
					</p0>
					<p33>
						<submodelref ref="sub_construction_stage_02"/>
					</p33>
					<p66>
						<submodelref ref="gunsmith_con2"/>
					</p66>
					<p100>
						<submodelref ref="gunsmith2"/>
					</p100>
				</logic>
			</none>
			<industrialize>
				<logic type="BuildingCompletion">
					<p0>
						<submodelref ref="sub_construction_stage_01"/>
					</p0>
					<p33>
						<submodelref ref="sub_construction_stage_02"/>
					</p33>
					<p66>
						<submodelref ref="gunsmith_con4"/>
					</p66>
					<p100>
						<submodelref ref="gunsmith4"/>
					</p100>
				</logic>
			</industrialize>
		</logic>
	</component>
</animfile>